App Implementation: My Tickets

System Landscape Requirements

In order to be able to implement this app, your system landscape has to be enabled for SAP Fiori. Depending on the database type serving as the basis in your system landscape, it has to be set up for SAP Fiori and has to meet the respective prerequisites:

The SAP product version in the back-end system serving as the basis for the app must be the following:

Required Back-End Product (Product Version Stack)

SAP enhancement package 4 for SAP CRM 7.0 (04 (11/2016) FP)

Each SAP Fiori app consists of front-end components and back-end components:
  • The front-end components of the app consist of the user interfaces and content required for launching the app on the SAP Fiori launchpad. These components have to be installed on your front-end server.

  • The back-end components of the app mainly consist of the OData services required for the app. These components have to be installed in your back-end system.

The front-end and back-end components of the app are delivered with the following SAP product versions as part of the listed software components. The required software components for the app are contained in the listed product instances:

App Component

Required SAP Product Version (Support Package Stack)

Available Instances Containing Software Component

Software Component Required for App (Support Package)

Front-End Components

SAP Fiori 2.0 for SAP CRM ( Initial Shipment Stack )

CRM AS ABAP UI

UICRM001 200 (0000 )

Back-End Components

SAP enhancement package 4 for SAP CRM 7.0 (04 (11/2016) FP)

CRM Application Server ABAP

BBPCRM 714 (0004 )

For more information about the installation of front-end components, see http://help.sap.com/fiori_implementation.

Required SAP Notes

On the back-end server, the following SAP notes must be implemented for this app:

SAP Note Number

Description

2353616 Information published on SAP site

New OData Service CRM_SRV_REQUEST for My Ticket App

On the front-end server, the following SAP notes must be implemented for this app:

SAP Note Number

Description

2363347 Information published on SAP site

My Tickets app

Implementation Tasks

The following sections list tasks that have to be performed to implement the required components of the app. The tables contain the app-specific data required for these tasks.

You can find the data required to perform these tasks in the SAP Fiori apps reference library at:

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/index.html?appId=F2117

Front-End Server : Activate OData Services

Component

Technical Name

OData Service (Version Number)

SRV_REQUEST (n/a )

For more information about how to activate the OData service, see Front-End Server: Activate OData Services .

Front-End Server: Activate SAPUI5 Application

Component

Technical Name

SAPUI5 Application

CRM_MYTICKETS

For more information about how to activate the SAPUI5 application (ICF service), see Front-End Server: Activate ICF Services.

Enable App for Access in SAP Fiori Launchpad

To define the access of single users to this app in the SAP Fiori launchpad, technical content is delivered, such as catalogs and example roles.

You can find an overview of the delivered technical content for this SAP Fiori app in the SAP Fiori apps reference library.

For more information about how to proceed with this content, see Enable App for Access in SAP Fiori Launchpad.

Front-End Server and Back-End Server: Assign OData Service Authorizations to Users

You must assign OData service authorizations for the app to your users.

Note

Several authorization default values are connected to the OData service. To ensure that all these default values are assigned to a user, you have to follow the instructions given under the documentation links provided.

Make the assignment on the back-end server and on the front-end server :
  • On the back-end server, a dedicated authorization role (PFCG role) for the OData service is delivered as an example. You can copy this role and adjust it to your needs.

  • On the front-end server , you must assign the OData service authorization to a new or existing role, such as a business role that has been adjusted according to your needs.

OData Service (Version Number)

Back-End Server: Delivered Authorization Role (PFCG Role)

Front-End Server : Assignment to Authorization Role

SRV_REQUEST (n/a )

In addition, this role contains authorizations to display the related business data.

Note

In addition, this role contains authorizations to display the related business data.

OData service authorization must be assigned.

Configuration Tasks

To be able to implement the app, you must perform the following configuration tasks in the back-end system:

  • Assign the Employee business partner role

    We recommend that each user who has access to the My Tickets app is assigned to a business partner with the Employee business partner role. This is necessary to access not only the service requests created by the user but also the service requests that were created on their behalf.

  • Tile and Launchpad configuration

    You can configure the My Tickets app in the Lauchpad designer. The following behavior can be changed:
    • You can change the title and the icon displayed in the tile.

    • It is possible to dynamically display the number of tickets in the tile. In the Example described below the number of open tickets will be displayed.
    • The default transaction type is MYTI. Only service requests of this transaction type will be displayed and will be created in the app. You can change the transaction type (used in the app) in the Launchpad designer as described in the Example below.
    Note The transaction type MYTI is available with SAP Note 2376628 Information published on SAP site. If this Note is not installed, the default transaction type is SRVR.
    Example

    Use the Launchpad designer to add a new dynamic tile for the My Tickets app, for example to catalog Employee - Service Request(SAP_CRM_BC_SRV_REQ) and configure the following:

    1. General

      1. Set the Title property, for example My Tickets

      2. Set the icon property, for example sap-icon://Fiori9/F1353

    2. Dynamic Data

      1. If the number of open tickets should be shown in the tile and the transaction type used is MYTI, use the Service URL:

        /sap/opu/odata/sap/CRM_SRV_REQUEST/ServiceRequestCollection/$count?$filter=typeID%20eq%20%27MYTI%27%20and%20statusGroupID%20ne%20%2730%27

        In this example, the tickets which are not closed (statusGroupID not equal 30) are counted.

      2. Set the value of counter Refresh Interval in Seconds, for example to 30.

    3. Navigation

      1. Set Semantic Object to ServiceRequest

      2. Set Action to manage

      3. Set Parameters to the transaction type you want to use, for example typeID=MYTI

    Tip One instance of the app can only run with one transaction type. If you want to work with a number of different transaction types you should configure multiple tiles in the Launchpad designer.
  • (Optional) Configure My Inbox integration

    See SAP Note 2376235 Information published on SAP site.

More Information

For more information about app implementation, see http://help.sap.com/fiori_implementation Start of the navigation path App Implementation Information for SAP Fiori End of the navigation path.